package com.project.smarthome.login;

import com.project.smarthome.base.UIPresenter;
import com.project.smarthome.base.UIView;

/**
 * Created by lunanting on 2016/10/21.
 */

public interface RegistContract {
    interface View extends UIView {

        void showLoginError(String errmsg);

        void loginSuccessToMain();

        void showCoutDownTime(long second);

        void showFinish();
    }

    interface Presenter extends UIPresenter {

        void getVerCode(String phoneNum);

        void toRegist(String phoneNum, String password, String verCode);

    }
}
